# enable wifi if disabled
uci -q del wireless.radio0.disabled

# disable legacy
uci set wireless.radio0.legacy_rates='1'

# create open AP
uci set wireless.@wifi-iface[0].device='radio0'
uci set wireless.@wifi-iface[0].network='lan'
uci set wireless.@wifi-iface[0].mode='ap'
uci set wireless.@wifi-iface[0].encryption='none'
uci set wireless.@wifi-iface[0].ssid='3G150B'
uci -q del wireless.@wifi-iface[0].disabled

uci commit wireless
